#pragma warning(disable:4996)
#include<stdio.h>
#include<stdlib.h>
int main()
{
	int a = 65;
	int b;
	FILE* fp;
	fp = fopen("text.txt", "w+");
	fprintf(fp, "%d", a);
	rewind(fp);
	fscanf(fp, "%d", &b);
	printf("%d\n", b);
	fclose(fp);
	return 0;
}